package com.wwwarehouse.contract.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zhenwang.xiang on 2017/9/24.
 * Description:
 */

public class ChooseModuleTwoBean implements Serializable {


    /**
     * moduleList : {"total":6,"size":10000,"page":1,"list":[{"code":"C_RAW_MATERIAL","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL_0.png"}],"name":"原料商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_MANUFACTURER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/MANUFACTURER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/MANUFACTURER_0.png"}],"name":"制造商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_BRANDING_BUSINESS","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/BRANDING_BUSINESS.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/BRANDING_BUSINESS_0.png"}],"name":"品牌商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_SHOPKEEPER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/SHOPKEEPER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/SHOPKEEPER_0.png"}],"name":"零售商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_DEALER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/DEALER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/DEALER_0.png"}],"name":"经销商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_CONSUMER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/CONSUMER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/CONSUMER_0.png"}],"name":"消费者","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0}]}
     * selectCount : 0
     */

    private ModuleListBean moduleList;
    private int selectCount;

    public void setModuleList(ModuleListBean moduleList) {
        this.moduleList = moduleList;
    }

    public void setSelectCount(int selectCount) {
        this.selectCount = selectCount;
    }

    public ModuleListBean getModuleList() {
        return moduleList;
    }

    public int getSelectCount() {
        return selectCount;
    }

    public static class ModuleListBean implements Serializable {
        /**
         * total : 6
         * size : 10000
         * page : 1
         * list : [{"code":"C_RAW_MATERIAL","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL_0.png"}],"name":"原料商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_MANUFACTURER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/MANUFACTURER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/MANUFACTURER_0.png"}],"name":"制造商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_BRANDING_BUSINESS","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/BRANDING_BUSINESS.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/BRANDING_BUSINESS_0.png"}],"name":"品牌商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_SHOPKEEPER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/SHOPKEEPER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/SHOPKEEPER_0.png"}],"name":"零售商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_DEALER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/DEALER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/DEALER_0.png"}],"name":"经销商","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0},{"code":"C_CONSUMER","imageUrl":[{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/CONSUMER.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/CONSUMER_0.png"}],"name":"消费者","class":"com.wwwarehouse.xdw.usercenter.model.BusinessModule","selected":0}]
         */

        private int total;
        private int size;
        private int page;
        private List<ListBean> list;

        public void setTotal(int total) {
            this.total = total;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public int getTotal() {
            return total;
        }

        public int getSize() {
            return size;
        }

        public int getPage() {
            return page;
        }

        public List<ListBean> getList() {
            return list;
        }

        public static class ListBean implements Serializable {
            /**
             * code : C_RAW_MATERIAL
             * imageUrl : [{"selectedUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL.png","defaultUrl":"http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL_0.png"}]
             * name : 原料商
             * class : com.wwwarehouse.xdw.usercenter.model.BusinessModule
             * selected : 0
             */

            private String code;
            private String name;
            private int selected;
            private List<ImageUrlBean> imageUrl;

            public void setCode(String code) {
                this.code = code;
            }

            public void setName(String name) {
                this.name = name;
            }


            public void setSelected(int selected) {
                this.selected = selected;
            }

            public void setImageUrl(List<ImageUrlBean> imageUrl) {
                this.imageUrl = imageUrl;
            }

            public String getCode() {
                return code;
            }

            public String getName() {
                return name;
            }

            public int getSelected() {
                return selected;
            }

            public List<ImageUrlBean> getImageUrl() {
                return imageUrl;
            }

            public static class ImageUrlBean implements Serializable {
                /**
                 * selectedUrl : http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL.png
                 * defaultUrl : http://192.168.6.24:8080/gateway/staticImg/RAW_MATERIAL_0.png
                 */

                private String selectedUrl;
                private String defaultUrl;

                public void setSelectedUrl(String selectedUrl) {
                    this.selectedUrl = selectedUrl;
                }

                public void setDefaultUrl(String defaultUrl) {
                    this.defaultUrl = defaultUrl;
                }

                public String getSelectedUrl() {
                    return selectedUrl;
                }

                public String getDefaultUrl() {
                    return defaultUrl;
                }
            }
        }
    }
}
